package com.minelx.scriptbuilder.script.operation;

import com.minelx.scriptbuilder.script.IVariable;

public class AssignOperation2 implements IOperation {

	private final IVariable assigned;

	private final IVariable as;

	public AssignOperation2(IVariable assigned, IVariable as) {
		this.assigned = assigned;
		this.as = as;
	}

	@Override
	public void execute() {
		assigned.assigned(as.value());
	}
}
